Add AddCSharpApp and CSharpAppResource documentation to app-host-overview.md #5318
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #5315
This PR updates the Aspire orchestration overview documentation to include coverage of
AddCSharpAppandCSharpAppResource, which were added in Aspire 9.5 to support C# file-based apps and provide an alternative way to add C# projects to the app model without requiring project references.Changes
Built-in resource types table
Added a new row documenting the
AddCSharpAppmethod andCSharpAppResourcetype, positioned directly afterAddProjectto show the relationship between the two approaches.Enhanced project resources introduction
Updated the introductory paragraph to mention both methods for adding C# projects to the app model, noting that
AddCSharpAppprovides an alternative that doesn't require a project reference.New AddCSharpApp documentation section
Added comprehensive documentation explaining:
AddCSharpAppdiffers fromAddProject(path-based vs project reference)AddCSharpApp(file-based apps from .NET 10, or projects without adding references)AddProject(replicas, environment variables, resource dependencies)All changes follow the repository's documentation guidelines and have been validated with markdownlint.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
Internal previews